package com.yz.newspaper.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.yz.newspaper.pojo.po.LiteratureType;

import java.util.List;
import java.util.Map;

/**
 * <p>
 * 体裁类型表 服务类
 * </p>
 *
 * @author author
 * @since 2024-04-21
 */
public interface ILiteratureTypeService extends IService<LiteratureType> {

    Map<Integer, List<LiteratureType>> getLiteratureTypes();

    List<LiteratureType> getLiteratureTypesByMedia(String media);
}
